package middleware

import (
	"sync"

	"github.com/gin-gonic/gin"
)

type AuthApi struct {
	authBaseUri string
	authUser    string
	authKey     string
	context     *gin.Context
}
type Auth struct {
	Name    string
	Project string
	TokenV2 string
	TokenV1 string
	Role    string
}

var (
	authInstance *AuthApi
	authOnce     sync.Once
)
